package com.dl.designmodel.loginAdapter;

import com.dl.pojo.CommonResult;

/**
 * @ProjectName: mcroservices
 * @Package: com.dl.designmodel.loginAdapter
 * @ClassName: LoginForWechatAdapter
 * @Author: 86977
 * @Description: ${description}
 * @Date: 2021/6/29 09:53
 * @Version: 1.0
 */
public class LoginForWechatAdapter extends AbstraceAdapter{
  public boolean support(Object adapter) {
    return adapter instanceof LoginForWechatAdapter;
  }

  public CommonResult login(String id, Object adapter) {
    return super.loginForRegist(id,null);
  }
}